package Demo4;

public class Test {
    public static void main(String[] args) {
        Computer computer=new Computer();
        computer.poweron();

        computer.useService(new Mouse());
        computer.useService(new KeyBoard());

        computer.poweroff();
    }
}
